import doT from 'dot';
import template from './AlarmInfo.html';
import './AlarmInfo.css';

export default class AlarmInfo {
    constructor(domId, dataObj) {
        this.container = document.getElementById(domId);

        const html = doT.template(template)(dataObj);
        this.container.innerHTML = html;
    }
}